package com.ukao.pad.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by kefu001 on 2018/5/29.
 * 衣物操作状态
 */

public class ClothesOperateStatusBean extends BaseListBean<ClothesOperateStatusBean> implements Parcelable{

        /**
         * createBy : 51
         * statusDesc : 在【观象二路】质检打包
         * statusVal : 19
         * createTime : 1527563503000
         * statusText : 已洗完
         * id : 8339
         * orderProId : 2483
         * operType : 4
         * kindId : 4
         * createName : 枣庄广场工厂管理员
         */

        private int createBy;
        private String statusDesc;
        private int statusVal;
        private long createTime;
        private String statusText;
        private int id;
        private int orderProId;
        private int operType;
        private int kindId;
        private String createName;

        public int getCreateBy() {
            return createBy;
        }

        public void setCreateBy(int createBy) {
            this.createBy = createBy;
        }

        public String getStatusDesc() {
            return statusDesc;
        }

        public void setStatusDesc(String statusDesc) {
            this.statusDesc = statusDesc;
        }

        public int getStatusVal() {
            return statusVal;
        }

        public void setStatusVal(int statusVal) {
            this.statusVal = statusVal;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getStatusText() {
            return statusText;
        }

        public void setStatusText(String statusText) {
            this.statusText = statusText;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrderProId() {
            return orderProId;
        }

        public void setOrderProId(int orderProId) {
            this.orderProId = orderProId;
        }

        public int getOperType() {
            return operType;
        }

        public void setOperType(int operType) {
            this.operType = operType;
        }

        public int getKindId() {
            return kindId;
        }

        public void setKindId(int kindId) {
            this.kindId = kindId;
        }

        public String getCreateName() {
            return createName;
        }

        public void setCreateName(String createName) {
            this.createName = createName;
        }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeInt(this.createBy);
        dest.writeString(this.statusDesc);
        dest.writeInt(this.statusVal);
        dest.writeLong(this.createTime);
        dest.writeString(this.statusText);
        dest.writeInt(this.id);
        dest.writeInt(this.orderProId);
        dest.writeInt(this.operType);
        dest.writeInt(this.kindId);
        dest.writeString(this.createName);
    }

    public ClothesOperateStatusBean() {
    }

    protected ClothesOperateStatusBean(Parcel in) {
        super(in);
        this.createBy = in.readInt();
        this.statusDesc = in.readString();
        this.statusVal = in.readInt();
        this.createTime = in.readLong();
        this.statusText = in.readString();
        this.id = in.readInt();
        this.orderProId = in.readInt();
        this.operType = in.readInt();
        this.kindId = in.readInt();
        this.createName = in.readString();
    }

    public static final Creator<ClothesOperateStatusBean> CREATOR = new Creator<ClothesOperateStatusBean>() {
        @Override
        public ClothesOperateStatusBean createFromParcel(Parcel source) {
            return new ClothesOperateStatusBean(source);
        }

        @Override
        public ClothesOperateStatusBean[] newArray(int size) {
            return new ClothesOperateStatusBean[size];
        }
    };
}
